import 'package:json_annotation/json_annotation.dart';
import 'package:xindong/models/xindong_task_class.dart';

part 'xindong_user_task.g.dart';

@JsonSerializable()
class XinDongUserTask {
  XinDongTaskClass? avatar; // 头像
  XinDongTaskClass? voice; // 语音
  XinDongTaskClass? info; // 基本资料
  XinDongTaskClass? moreInfo; // 更低资料
  XinDongTaskClass? perfectInfo; // 介绍

  XinDongUserTask();

  factory XinDongUserTask.fromJson(Map<String, dynamic> json) => _$XinDongUserTaskFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongUserTaskToJson(this);
}
